/***
 *                    _ooOoo_
 *                   o8888888o
 *                   88" . "88
 *                   (| -_- |)
 *                    O\ = /O
 *                ____/`---'\____
 *              .   ' \\| |// `.
 *               / \\||| : |||// \
 *             / _||||| -:- |||||- \
 *               | | \\\ - /// | |
 *             | \_| ''\---/'' | |
 *              \ .-\__ `-` ___/-. /
 *           ___`. .' /--.--\ `. . __
 *        ."" '< `.___\_<|>_/___.' >'"".
 *       | | : `- \`.;`\ _ /`;.`/ - ` : | |
 *         \ \ `-. \_ __\ /__ _/ .-` / /
 * ======`-.____`-.___\_____/___.-`____.-'======
 *                    `=---='
 *
 * .............................................
 *          佛祖保佑             永无BUG
 *@author wwh
 *@date 2022年07月22日16:29
 */
package com.bm.api.controller;

import com.bm.api.service.HavegilogService;
import com.bm.common.dto.HavegilogDto;
import com.bm.common.vo.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

@RestController
@RequestMapping("/api/havegi")
@Api(tags = "礼物赠送接口-谢英凡")
public class HavegilogController {
    @Resource
    private HavegilogService havegilogService;

    //礼物赠送接口
    @ApiOperation(value = "礼物赠送接口")//Swagger 为方法加注释
    @PostMapping("/giveHavegiLog.do")
    public R giveHavegiLog(@RequestBody HavegilogDto dto){
        return havegilogService.giveHavegiLog(dto);
    }
}
